using System;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
using MonoTouch.Dialog;


namespace Socialite
{
	public class VariableHeightStyledStringElement : StyledStringElement, IElementSizing
	{
		public VariableHeightStyledStringElement (String caption, String subtitle): base(caption, subtitle)
		{
		}

		public VariableHeightStyledStringElement (String caption): base(caption)
		{
		}
		
		public float GetHeight (UITableView tableView, NSIndexPath indexPath)
		{
			return this.Font.PointSize + 15;
		}
	}
}

